$('#windPower').text('东风')
$("#temperature").text('32/23℃')
$('#weather').text('晴')
var chartColor = ["#53fcb3","#00e4ff","#ff5959","#f7ac1a",'#1C86F1','#9A4CFB']
function addNum(n, className, addNum = 1, time = 3000, num = 0) {
    function add() {
        num = num + addNum
        // if (num == n || num > n) {
        //     num = 0
        // } else {
        //
        // }
        $('.' + className).text(num)
    }

    setInterval(add, time)
}
